package com.example.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.Student;

import java.util.List;

public interface StudentService {
    //List<Student> findAll();

    void selectName(String name);

    void add(Student student);

    Student findById(String id);

    void update(Student student);

    void del(String id);

    List<Student> list(QueryWrapper<Student> wrapper);

    List<Student> findAll(QueryWrapper<Student> wrapper);

    Page<Student> findSll(Page<Student> page1, QueryWrapper<Student> queryWrapper);



    //List<Student> findAll(String name);


    //Page<Student> selectPage(Page<Student> page, Object o);
}
